package com.gt.web.srv.mapstructs;

import com.gt.web.srv.domain.ActivityGroup;
import com.gt.web.srv.web.api.command.ActivityGroupCommand;
import com.gt.web.srv.web.api.resource.ss.ActivityGroupResource;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author jh
 * @Date 2024/5/18 16:01
 * @PackageName:com.gt.web.srv.converter
 * @ClassName: AdvertisementConverter
 * @Description: TODO
 */
@Mapper
public interface ActivityGroupStruct {

    ActivityGroupStruct INSTANCE = Mappers.getMapper(ActivityGroupStruct.class);


    ActivityGroup simple(ActivityGroupCommand goods);

    List<ActivityGroupResource> simpleList(List<ActivityGroup> repairApplications);


    ActivityGroupResource simple(ActivityGroup repairApplication);
}
